package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectMapper{

    Page<NursingProjectVo> pageBuConditional(String name, Integer status);

    int insertNp(NursingProject np);

    NursingProject getById(Long id);

    int updateByID(NursingProject np);

    int deleteByID(Long id);

    int updateStatus(Long id, Integer status);

    List<NursingProjectVo> getAll();
}
